<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->
<html>
<head>
<title>Login Page</title>
<meta name="layout" content="main" />
</head>
<body>
<div class="body">
<g:if test="${flash.message}">
<div class="message">
${flash.message}
</div>
</g:if>
		<div id="menu">
		<ul id="main">
			<li class="current_page_item"><g:link controller="administrador">Inicio</g:link></li>
                        <li><g:link controller="administrador" action="categorias">Categorias<></g:link></li>
                        <li><g:link controller="administrador" action="eventos">Eventos<></g:link></li>
                        <li><g:link controller="administrador" action="usuarios">Usuarios<></g:link></li>
		</ul>
	</div>
<!-- end header -->
<style type="text/css">
<!--
.Estilo1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #FFFFFF;
}
.Estilo2 {
		font-size: 10px;
			font-family: Arial, Helvetica, sans-serif;
			color: #FFFFFF}
-->
</style>
	<!-- start page -->
	<div id="page">

		<div id="content">
                <table>
                  <tr><td><g:link controller="administrador" action="createev">Agregar Evento</g:link></td></tr>
                  <tr><td><g:link controller="administrador" action="listev">Consultar Eventos</g:link></td></tr>
                </table>
		</div>
		<!-- end content -->
		<!-- start sidebars -->
		<div id="sidebar2" class="sidebar">
			<ul>
				<li>
                     <g:if test="${session.user}">
                     <span class="Estilo2"><b>Bienvenido a eel&nbsp;${session.user?.nombre}&nbsp;${session.user?.apellido}</b></span>
                     <br>
                     <g:link controller="usuario" action="show">Mi Perfil</g:link><br>
                     <g:link controller="login" action="logout">Logout</g:link>
                     </g:if>
                    

				</li>
			</ul>
		</div>
		<!-- end sidebars -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end page -->
</div>
<div id="footer">
	<p class="copyright">&copy;&nbsp;&nbsp;2009 All Rights Reserved &nbsp;&bull;&nbsp; Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</div>
</body>
</html>